package com.maimang.platform.dsp.mapper;

import com.maimang.platform.dsp.entity.Qualification;
import java.util.List;
import tk.mybatis.mapper.common.Mapper;

/**
 * @classname QualificationMapper
 * @description <br>广告主资质主数据层</br>
 * @author  Rocky
 * @date    2019-12-17 10:11:36
 * @email   jintaozhao@qq.com
 * @version 1.0.0
 */
public interface QualificationMapper extends Mapper<Qualification>{
	/**
     * 查询广告主资质主信息
     * 
     * @param advertiserId 广告主资质主ID
     * @return 广告主资质主信息
     */
	Qualification selectQualificationById(Long advertiserId);
	
	/**
     * 查询广告主资质主列表
     * 
     * @param qualification 广告主资质主信息
     * @return 广告主资质主集合
     */
	List<Qualification> selectQualificationList(Qualification qualification);
	
	/**
     * 新增广告主资质主
     * 
     * @param qualification 广告主资质主信息
     * @return 结果
     */
	int insertQualification(Qualification qualification);
	
	/**
     * 修改广告主资质主
     * 
     * @param qualification 广告主资质主信息
     * @return 结果
     */
	int updateQualification(Qualification qualification);
	
	/**
     * 删除广告主资质主
     * 
     * @param advertiserId 广告主资质主ID
     * @return 结果
     */
	int deleteQualificationById(Long advertiserId);
	
	/**
     * 批量删除广告主资质主
     * 
     * @param advertiserIds 需要删除的数据ID
     * @return 结果
     */
	int deleteQualificationByIds(String[] advertiserIds);
	
}